package com.elitesland.b2c.tms.vo.resp;

import com.elitesland.b2c.tms.vo.com.TmsFareAreaComVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * .
 *
 * @author Kaiser（wang shao）
 * @date 2021-02-07
 */
@ApiModel(description = "运费模板分页查询结果")
@Data
public class TmsFareTmplPageRespVO implements Serializable {
    private static final long serialVersionUID = -7724591801812373037L;

    @ApiModelProperty(value = "模板编号")
    private Long id;

    @ApiModelProperty(value = "模板名称")
    private String name;

    @ApiModelProperty(value = "费用计算方式")
    private String calcMethod;

    @ApiModelProperty(value = "费用计算方式名称")
    private String calcMethodName;

    @ApiModelProperty(value = "首重(Kg)/首件")
    private BigDecimal weightStart;

    @ApiModelProperty(value = "首费(元)")
    private BigDecimal costStart;

    @ApiModelProperty(value = "续重(Kg)/续件")
    private BigDecimal weightIncrease;

    @ApiModelProperty(value = "续费(元)")
    private BigDecimal costIncrease;

    @ApiModelProperty(value = "目的地")
    private List<TmsFareAreaComVO> area;

    @ApiModelProperty(value = "添加时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "是否启用")
    private Boolean enabled;
}
